package ru.evga.inse.server.gwt.user.client.menu;

import ru.evga.inse.server.gwt.user.client.menu.admin.AdminContentView;
import ru.evga.inse.server.gwt.user.client.menu.admin.AdminFactory;
import ru.evga.inse.server.gwt.user.client.menu.admin.AdminView;
import ru.evga.inse.server.gwt.user.client.menu.general.GeneralContentView;
import ru.evga.inse.server.gwt.user.client.menu.general.GeneralView;
import ru.evga.inse.server.gwt.user.client.menu.realty.RealtyContentView;
import ru.evga.inse.server.gwt.user.client.menu.realty.RealtyView;

public class MenuFactory
{
    //main
    private final GeneralView m_generalItemView = new GeneralView();
    private final GeneralContentView m_generalContentView = new GeneralContentView();
    //realty
    private final RealtyView m_realtyItemView = new RealtyView();
    private final RealtyContentView m_realtyContentView = new RealtyContentView();
    //admin
    private final AdminView m_adminItemView = new AdminView();
    private final AdminContentView m_adminContentView = new AdminContentView();
    private final AdminFactory m_adminFactory = new AdminFactory();

    
    public GeneralView getMainItemView()
    {
        return m_generalItemView;
    }

    public GeneralContentView getMainContentView()
    {
        return m_generalContentView;
    }

    
    public RealtyContentView getRealtyContentView()
    {
        return m_realtyContentView;
    }
    
    public RealtyView getRealtyItemView()
    {
        return m_realtyItemView;
    }
    
    public AdminContentView getAdminContentView()
    {
        return m_adminContentView;
    }
    
    public AdminView getAdminItemView()
    {
        return m_adminItemView;
    }

    public AdminFactory getAdminFactory()
    {
        return m_adminFactory;
    }
}
